package com.itheima;

import com.itheima.client.BrandClient;
import com.itheima.client.SmsHomeAdvertiseClient;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;

@Slf4j
@SpringBootApplication
@EnableFeignClients(clients = {BrandClient.class, SmsHomeAdvertiseClient.class})
public class CmsApplication {
    public static void main(String[] args) {
        SpringApplication.run(CmsApplication.class,args);
        log.info("启动完成");
    }
}
